package com.hzcc.hzccblog.module.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 早睡蛋
 * @Date 2022/6/8 10:38:30
 * @Desc:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddArticle {

    @ApiModelProperty(value = "主键id",required = true)
    private String id;

    @ApiModelProperty(value = "标题",required = true)
    private String title;

    @ApiModelProperty(value = "概要",required = false)
    private String summary;

    @ApiModelProperty(value = "内容",required = true)
    private String content;

    @ApiModelProperty(value = "作者",required = true)
    private String writer;

    @ApiModelProperty(value = "标签",required = true)
    private String type;

}
